package edu.sctu.practice.class02.xuqianlan.test.test03;

import edu.sctu.practice.class02.xuqianlan.test.test18.Auto;
import edu.sctu.practice.class02.xuqianlan.test.test18.Car;

/**
 * Created by lenovo on 2015/10/29.
 */
public class ClassAuto {
    public static void main(String[] args) {
        Auto auto=new Auto(4,6,"red",60);
        auto.upSpeed();
        auto.downSpeed();

        Car car=new Car(4,3,"black",70,true);
        car.downSpeed();
        car.upSpeed();

    }

}
